module.exports.getTime=(date=new Date)=>{
    let y=date.getFullYear();
    let m=date.getMonth()+1;
    m=m<10?('0'+m):m;
    let d=date.getDate();
    d=d<10?('0'+d):d;
    // let h=date.getHours();
    // h=h<10?('0'+h):h;
    return y+'-'+m+'-'+d
}
